-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added KPI visualization #4640
base: master
Are you sure you want to change the base?
Added KPI visualization #4640
Conversation
I don't think the check that failed has anything to do with my code changes |
Hi @daniellangnet! That check is for code style, don't worry that much 🙂 (bot opened a PR that applies code style rules to your changes, we'll merge it alongside with this PR) |
@daniellangnet only thing I noticed is that the |
@gabrieldutra great, thanks for the review and also thanks for your response on the other PR #4837. I'll wait for that one to get merged and will then rebase this branch |
c8319d9
to
4566b6c
Compare
@gabrieldutra I rebased this on the current master with the separated visualization package and I also removed the |
hello i have a question. how to add custom visualization in redash? any video tutorial? |
Is there a chance that this PR will merge anytime soon @kravets-levko @daniellangnet? What is blocking it? This is just the viz that I would like to use. Would like to have it merged, rather than use it from the PR's branch. Thanks for this effort @daniellangnet! 🎉 |
4566b6c
to
92efbf4
Compare
@gabrieldutra I just rebased again to fix some issues with the latest master. Do you foresee that this will ever get merged? I understand if the answer is no, but then I could save myself some time and would only maintain our internal fork, as opposed to the split out PR. Thank you |
Hi @daniellangnet! Sorry for such a long delay. I plan to review your PR in a next few days. Meanwhile I have a question (just to understand better where do we go): did you take a Counter code as a base to create a new visualization? 'Cause I have a feeling that we could extend existing Counter visualization instead of adding a new one (but it's also possible that it doesn't worth it) |
Thanks @kravets-levko! I know you guys had a lot going on, so no worries & thank you for your work. You're right that the code was based on the counter viz as a starting point and I thought about whether it would make sense to extend it instead. If you look at the description of the PR above, I described my reasoning for thinking that a separate visualization would be better here. In short: the KPI viz is a lot more opinionated about what it shows and as a result can do a whole bunch of stuff that perhaps wouldn't make sense to have in a generic counter visualization. Happy to follow your lead either way! :) |
This PR suffers from the same Safari issue that I fixed here: #5236 |
I need this feature,is it can merge now? |
Hello, just wondering what happened to this pull request? It's been stalled for a year, which seems a shame as @daniellangnet put in the effort to create it and this would be a useful addition to the product. |
That would be nice to have... |
@daniellangnet , thanks for the PR! We've updated a lot of things now that we're Community-driven so - if you're still interested in getting this merged - would you mind rebasing off master to re-run the CI, as well as updating merge conflicts? We're trying to clean up our PR todo list, so if you're not interested, that's fine - we'll close the PR in about a week if we don't hear back. If you're interested in reopening the PR afterwards, we would also very much welcome that. |
@viettran97118 I've reopened the PR, but as mentioned, it still needs some work. Let me know if you hove any questions, but the main things that need to be done are:
Once this is done, we can go through review and merge it in. |
Hey, I remind this PR. I waiting for merged this feature. |
@viettran97118 thanks for the reminder. I think we slightly misunderstood each other. I need you to update the PR so that it can be merged in after your updates. |
Yes I am willing to do this. I have ideas the shame with this PR. |
That sounds great to me! |
@viettran97118 and @guidopetri Can you please review and merge this PR – we also would appreciate this feature very much! |
What type of PR is this?
Description
This is a new visualization meant for business KPIs. Ideally, Redash would have a plugin system and some sort of marketplace where this could live. However, since that seems far away, I think it still makes sense to consider adding this visualization to the core codebase, because it seems like this would be one of the most common use-cases for companies using Redash.
Unlike other visualizations, this one is a bit more opinionated in terms of the data it's meant to represent, hence the name "KPI". It has some similarities with the existing counter visualization, but also offers a number of features that wouldn't make sense for the more generic counter:
Screenshots